package top.lixb.libcommon.base;

import android.databinding.DataBindingUtil;
import android.databinding.ViewDataBinding;
import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.chad.library.adapter.base.BaseViewHolder;

public class ItemHolder<B extends ViewDataBinding> extends RecyclerView.ViewHolder {

    public B getBinding() {
        return mBinding;
    }

    private B mBinding;

    public ItemHolder(View view) {
        super(view);
    }

    public void setBinding(B binding) {
        mBinding = binding;
    }


}
